﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.Serialization;

namespace Insifo.BE.Gen
{
    [DataContract]
    public class BEPersona : BEEntidad
    {
        [DataMember]
        public virtual int IdSpring { get; set; }
        [DataMember]
        public virtual int IdPersona { get; set; }
        [DataMember]
        public virtual string CodigoPersona { get; set; }
        [DataMember]
        public virtual string ApellidoPaterno { get; set; }
        [DataMember]
        public virtual string ApellidoMaterno { get; set; }
        [DataMember]
        public virtual string Nombres { get; set; }
        [DataMember]
        public virtual string NombreCompleto { get; set; }
        [DataMember]
        public virtual string NombreBusqueda { get; set; }
        [DataMember]
        public virtual DateTime? FechaNacimiento { get; set; }
        [DataMember]
        public virtual string Sexo { get; set; }
        [DataMember]
        public virtual string Nacionalidad { get; set; }
        [DataMember]
        public virtual string EstadoCivil { get; set; }

        [DataMember]
        public virtual string CorreoElectronico { get; set; }
        [DataMember]
        public virtual string Telefono1 { get; set; }
        [DataMember]
        public virtual string Telefono2 { get; set; }
        [DataMember]
        public virtual string Telefono3 { get; set; }
        [DataMember]
        public virtual string Celular1 { get; set; }
        [DataMember]
        public virtual string Celular2 { get; set; }
        [DataMember]
        public virtual string Celular3 { get; set; }
        [DataMember]
        public virtual string Fax { get; set; }
        [DataMember]
        public virtual string TipoDocumento { get; set; }
        [DataMember]
        public virtual string Documento { get; set; }
        [DataMember]
        public virtual string DocumentoFiscal { get; set; }
        [DataMember]
        public virtual string EsCliente { get; set; }
        [DataMember]
        public virtual string EsProveedor { get; set; }
        [DataMember]
        public virtual string EsEmpleado { get; set; }
        [DataMember]
        public virtual string EsOtro { get; set; }
        [DataMember]
        public virtual string SituacionTrabajo { get; set; }
        [DataMember]
        public virtual string ClasePersona { get; set; }
        [DataMember]
        public virtual int? IdGrupo { get; set; }
        [DataMember]
        public virtual string CodigoBarras { get; set; }

        [DataMember]
        public List<BEDireccion> Direccion { get; set; }

        [DataMember]
        public virtual System.Int32 IdPaisNacimiento { get; set; }
        [DataMember]
        public virtual System.Int32 IdDepartamentoNacimiento { get; set; }
        [DataMember]
        public virtual System.Int32 IdProvinciaNacimiento { get; set; }
        [DataMember]
        public virtual System.String LugarNacimiento { get; set; }

        [DataMember]
        public virtual System.String NacionalidadMaterna { get; set; }
        [DataMember]
        public virtual System.String NacionalidadJuridica { get; set; }
        [DataMember]
        public virtual System.String CodigoLD { get; set; }

        [DataMember]
        public virtual System.String NombreEmergencia1 { get; set; }
        [DataMember]
        public virtual System.String NombreEmergencia2 { get; set; }
        [DataMember]
        public virtual System.String DireccionEmergencia1 { get; set; }
        [DataMember]
        public virtual System.String DireccionEmergencia2 { get; set; }
        [DataMember]
        public virtual System.String TelefonoEmergencia1 { get; set; }
        [DataMember]
        public virtual System.String TelefonoEmergencia2 { get; set; }
        [DataMember]
        public virtual System.String ParentescoEmergencia1 { get; set; }
        [DataMember]
        public virtual System.String ParentescoEmergencia2 { get; set; }

        [DataMember]
        public virtual System.String CelularEmergencia1 { get; set; }
        [DataMember]
        public virtual System.String CelularEmergencia2 { get; set; }

        [DataMember]
        public virtual System.String TipoLicenciaConducir { get; set; }
        [DataMember]
        public virtual System.String NumeroLicencia { get; set; }
        [DataMember]
        public virtual System.DateTime? FechaExpiracionLicencia { get; set; }

        [DataMember]
        public virtual System.String PoseeAuto { get; set; }

        //Add x Spring
        [DataMember]
        public virtual System.String TipoPersona { get; set; }
        [DataMember]
        public virtual System.String TipoMonedaPago { get; set; }
        [DataMember]
        public virtual System.Int32? IdBanco { get; set; }
        [DataMember]
        public virtual System.String TipoCuenta { get; set; }
        [DataMember]
        public virtual System.String NumeroCuenta { get; set; }
        [DataMember]
        public virtual System.String DescripcionDireccion { get; set; }
        [DataMember]
        public virtual System.String DireccionReferencia { get; set; }
        [DataMember]
        public virtual System.Int32 IdDepartamento { get; set; }
        [DataMember]
        public virtual System.Int32 IdProvincia { get; set; }

        [DataMember]
        public virtual System.Int32 IdPaisExtranjero { get; set; }
        [DataMember]
        public virtual System.Int32 IdDepartamentoExtranjera { get; set; }
        [DataMember]
        public virtual System.Int32 IdProvinciaExtranjero { get; set; }
        [DataMember]
        public virtual System.String DireccionExtranjero { get; set; }
        [DataMember]
        public virtual System.String TelefonoExtranjero { get; set; }
        [DataMember]
        public virtual System.String CelularExtranjero { get; set; }

    }
}
